From: Kenichi Handa Date: Thu, 5 Jun 2008 04:14:48 +0000 (+0000) Subject: (realize_x_face): If the font-related face attributes X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21223 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=76f54ecc910f8b870b13bc2dd5950f08db4f05b2;p=emacs.git (realize_x_face): If the font-related face attributes are the same s those of default face, realize a new fontset from default->fontset. --- diff --git a/src/xfaces.c b/src/xfaces.c index 2b85cfb6605..74b53ed0a32 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5776,7 +5776,8 @@ realize_x_face (cache, attrs) && lface_same_font_attributes_p (default_face->lface, attrs)) { face->font = default_face->font; - face->fontset = make_fontset_for_ascii_face (f, -1, face); + face->fontset + = make_fontset_for_ascii_face (f, default_face->fontset, face); } else {